//
//  NetInterface.h
//  cooba-iOS
//
//  Created by 郭四虎 on 16/4/25.
//  Copyright © 2016年 YouKu. All rights reserved.
//

#ifndef NetInterface_h
#define NetInterface_h

//#define K_URL @"http://120.26.97.23:8080/cooba-uip/"
//#define K_URL @"http://tbs.iucool.cn:8080/cooba-uip/"

#define K_URL @"http://120.26.229.61:8080/cooba-uip/"
#define CAR_URL @"http://a.cooba.cc"
//#define CAR_URL @"http://192.168.2.34"
//#define K_URL @"http://192.168.2.240:8080/cooba-uip/"

#pragma mark @"登录"
#define CHECKPWD [NSString stringWithFormat:@"%@login/checkPwd.do",K_URL]
#define LOGIN [NSString stringWithFormat:@"%@login/login.do",K_URL]
#define REGISTCHECK [NSString stringWithFormat:@"%@login/registerCheck.do",K_URL]
#define GETVERFICATIONCODE [NSString stringWithFormat:@"%@message/getSendCode.do",K_URL]
#define CHECKVERFICATIONCODE [NSString stringWithFormat:@"%@message/checkSendCode.do",K_URL]
#define REGIST [NSString stringWithFormat:@"%@login/register.do",K_URL]
#define LOGINOUT [NSString stringWithFormat:@"%@login/logout.do",K_URL]
#define CHANGEPWD [NSString stringWithFormat:@"%@login/changePwd.do",K_URL]
#define FORGETPWD [NSString stringWithFormat:@"%@login/forgetPwd.do",K_URL]

#pragma mark @"游戏"
#define GAMELIST [NSString stringWithFormat:@"%@game/ykGame/queryRecoGameList.do",K_URL]
#define GAMECOMMENT [NSString stringWithFormat:@"%@evaluation/ykEvaluation/queryEvaluationList.do",K_URL]
#define GAMERANK [NSString stringWithFormat:@"%@game/ykGame/queryOrderGameList.do",K_URL]
#define GAMEDETAIL [NSString stringWithFormat:@"%@game/ykGame/queryOrderGameDetail.do",K_URL]
#define GAMEREPLYLIST [NSString stringWithFormat:@"%@game/ykGame/queryGameReplyList.do",K_URL]
#define GAMEADDREPLY [NSString stringWithFormat:@"%@game/ykGame/addGameReply.do",K_URL]
#define GAMEDELREPLY [NSString stringWithFormat:@"%@game/ykGame/delGameReply.do",K_URL]
#define GAMEFAVORITE [NSString stringWithFormat:@"%@favorite/ykFavorite/addGameFavorite.do",K_URL]
#define GAMEFAVORITEQUERY [NSString stringWithFormat:@"%@favorite/ykFavorite/queryGameFavorite.do",K_URL]
#define GAMEDELFAVORITEQUERY [NSString stringWithFormat:@"%@favorite/ykFavorite/delGameFavorite.do",K_URL]
#define GAMEDOWNLOAD [NSString stringWithFormat:@"%@game/ykGame/gameDownload.do",K_URL]

#pragma mark @"测评"
#define EVALUATIONDETAIL [NSString stringWithFormat:@"%@evaluation/ykEvaluation/queryEvaluationDetail.do",K_URL]
#define EVALUATIONFIRST [NSString stringWithFormat:@"%@reply/ykReply/queryReplyParent.do",K_URL]
#define EVALUATIONSECOND [NSString stringWithFormat:@"%@reply/ykReply/queryReplyChild.do",K_URL]

#pragma mark @"服务"
#define SERVICELIST [NSString stringWithFormat:@"%@server/ykServer/queryServerList.do",K_URL]

#pragma mark @"新闻"
#define NEWSLIST [NSString stringWithFormat:@"%@news/ykNews/newsList.do",K_URL]
#define NEWSDETAIL [NSString stringWithFormat:@"%@news/ykNews/newsDetail.do",K_URL]

#pragma mark @"视频"
#define VIDEOLIST [NSString stringWithFormat:@"%@video/ykVideo/queryVideoList.do",K_URL]
#define VIDEORECO [NSString stringWithFormat:@"%@video/ykVideo/queryVideoRecoList.do",K_URL]

#pragma mark @"个人中心"
#define SYSTEMNOTILIST [NSString stringWithFormat:@"%@reply/ykReply/notViewedReply.do",K_URL]
#define USERINFO [NSString stringWithFormat:@"%@login/userInfo.do",K_URL]
#define BOUNDUSER [NSString stringWithFormat:@"%@login/boundUser.do",K_URL]
#define HEADPHOTO [NSString stringWithFormat:@"%@login/headPhoto.do",K_URL]
#define FEEDBACK [NSString stringWithFormat:@"%@feedback/ykFeedback/insertFeedback.do",K_URL]
#define MODIFYUSERINFO [NSString stringWithFormat:@"%@login/modifyUserInfo.do",K_URL]

#pragma mark @"增加评价"
#define EVALUATIONADDREPLY [NSString stringWithFormat:@"%@reply/ykReply/addReply.do",K_URL]

#pragma mark @"获取文件"
#define GETICON [NSString stringWithFormat:@"%@file/fileMng/fileDownload.do",K_URL]

#pragma mark @"点赞"
#define UpDown [NSString stringWithFormat:@"%@topic/topicUpDown.do",K_URL]

#pragma mark @"分类查询"
#define SORTQUERY [NSString stringWithFormat:@"%@sort/ykSort/querySortList.do",K_URL]

#pragma mark @"广告"
#define BANNER [NSString stringWithFormat:@"%@banner/banner.do",K_URL]
#define BANNERSTATISTICS [NSString stringWithFormat:@"%@banner/bannerStatistics.do",K_URL]

#pragma mark @"积分"
#define SIGNCHECK [NSString stringWithFormat:@"%@sign/ykSign/signCheck.do",K_URL]
#define SIGNSAVE [NSString stringWithFormat:@"%@sign/ykSign/signSave.do",K_URL]
#define SIGNLIST [NSString stringWithFormat:@"%@sign/ykSign/signList.do",K_URL]

#pragma mark @"兑换"
#define PRODUCTLIST [NSString stringWithFormat:@"%@product/ykProduct/queryProductList.do",K_URL]
#define CHECKADDRESS [NSString stringWithFormat:@"%@userdetail/ykUserdetail/findUserdetail.do",K_URL]
#define CHANGEADDRESS [NSString stringWithFormat:@"%@userdetail/ykUserdetail/changeUserdetail.do",K_URL]
#define EXPRODUCT [NSString stringWithFormat:@"%@product/ykProduct/exProduct.do",K_URL]

#pragma mark @"红包"
#define SHOWPACKET [NSString stringWithFormat:@"%@packet/HbPacket/showPacket.do",K_URL]
#define GETPACKET [NSString stringWithFormat:@"%@packet/HbPacket/getPacket.do",K_URL]
#define MYPACKET [NSString stringWithFormat:@"%@packet/HbPacket/myPacket.do",K_URL]
#define REFLECTPACKET [NSString stringWithFormat:@"%@packet/HbPacket/reflectPacket.do",K_URL]
#define PACKETRECORD [NSString stringWithFormat:@"%@packet/HbPacket/dbDetail.do",K_URL]
#define REFLECTRECORD [NSString stringWithFormat:@"%@packet/HbPacket/wlDetail.do",K_URL]

#endif /* NetInterface_h */
